PDF Plugin for Xojo

Font.BoundingBoxTop Property (console safe)

Gets the top coord for the Font bounding box.

BoundingBoxTop as Single {Read}

Remarks

To get it relative to the page and font size then you calculate it as follows:


Dim ascent as Single

// For font size 12
bottom = font.BoundingBoxTop * 12 / 1000.0

See Also

Font Class